Conflicts in Generalised Modular Logic Programming

نویسندگان

  • Carlos Viegas
  • João Moura
چکیده

Modularity has been studied extensively in conventional logic programming and incorporating modularity into Answer Set Programming has also become popular in the last few years. A major approach is Oikarinnen and JanhunenÕs Gaifman-Shapiro-style architecture of program modules, which provides the composition of program modules. Recently one shortcoming to their approach, imposed in order to ensure the compatibility of their module system with the stable model semantics and that forcing output signatures of composing modules to be disjoint, has been lifted [14]. However, lifting such requirements implies that conflicts will occur in composed modules mostly because their design is errorprone and also due to the lack of automated conflict detection and resolution. We describe an improved modularity definition for logic programs, identify its basic conflict types and characterize these conflicts both in terms of Strong and Uniform Equivalence of logic programs and in terms of a novel Brave Equivalence. The conflicts are studied according to several dimensions, and a hierarchy of conflict types is proved to exist. These theoretical characterizations allow for the automatic identification of such conflicts, among other reasoning tasks.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Declarative Semantics for Contradictory Modular Logic Programs

A complex reasoning system can be designed as an interaction between reasoning modules. A module consists of a declaration of exported/imported predicates and a set of rules containing both negation by default and classical negation. A prioritized modular logic program (PMP) consists of a set of modules and a partial order <def on the predicate definitions (M, p), where M is a module and p is a...

متن کامل

Towards a Logic-programming System to Debug ASP Knowledge Bases

This paper is a characterisation in terms of Weak Constraints both for Minimal Generalised Answer Sets and Optimal Answer Sets, of an updates semantics that provides a solid foundation for the implementation of a system to debug knowledge bases. The proposed system can be employed both to identify conflicts with upcoming information from a dynamic changing environment, and to locate the source ...

متن کامل

A Modeling Language for Hybrid Systems

The general hybrid systems modeling language (HSML) described here will serve two purposes: to define formally what is meant by the term “hybrid system”, and to provide the basis for language-based “front ends” for hybrid system simulation environments. Features of HSML include: hierarchical, modular construction of models; consistent yet distinctive definition of continuous-time, discrete-time...

متن کامل

Generalised Constraint Propagation

Constraint logic programming is often described as logic programming with uni cation replaced by constraint solving over a computation domain. There is another, very di erent, CLP paradigm based on constraint satisfaction, where program-de ned goals can be treated as constraints and handled using propagation. This paper proposes a generalisation of propagation, which enables it to be applied on...

متن کامل

Rigorous Handling of State Events in matlab

Previous research in the area of modeling and simulation of hybrid systems led to the development of a general hybrid systems modeling language (hsml) that has been described elsewhere. Features of hsml include: hierarchical, modular construction of models from components; consistent yet distinctive definition of continuoustime, discrete-time and logic-based components; prioritized scheduling o...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2014